package com.vincce.sport.entity;

import java.util.Date;

import com.vincce.sport.core.utils.ConvertUtil;

/**
 * 会员实体类
 * User: yanjun
 * Date: 2014/06/26
 * Time: 20:11
 * To change this template use File | Settings | File Templates.
 */
public class User {
    private Long id;                 //ID
    private String userName;         //用户名
    private String password;         //登陆密码
    private String name;         //姓名
    private Integer status;       //用户状态1.启用2.禁用    
    private Integer createUser;      //创建人
    private Date createTime;         //创建时间
    private Integer updateUser;      //更新人
    private Date updateTime;         //更新时间
    private Long teamId;//球队
    private String email;         //邮箱
    private String type; //1标识从discuz登录
    
    private String microblog;
    private String renren;
    private String phone;
    private String wechat;

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}	
	public Integer getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}
	public String getCreateTime() {
		return ConvertUtil.format("yyyy-MM-dd", createTime);
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(Integer updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateTime() {
		return ConvertUtil.format("yyyy-MM-dd", updateTime);
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getMicroblog() {
		return microblog;
	}
	public void setMicroblog(String microblog) {
		this.microblog = microblog;
	}
	public String getRenren() {
		return renren;
	}
	public void setRenren(String renren) {
		this.renren = renren;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getWechat() {
		return wechat;
	}
	public void setWechat(String wechat) {
		this.wechat = wechat;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", password="
				+ password + ", name=" + name + ", status=" + status
				+ ", createUser=" + createUser + ", createTime=" + createTime
				+ ", updateUser=" + updateUser + ", updateTime=" + updateTime
				+ ", teamId=" + teamId + ", type=" + type + "]";
	}

	
    
}
